cmake_minimum_required(VERSION 3.16)
project(cmake_demo VERSION 1.0.0 LANGUAGES C CXX)
# set(SRCDIR $(pwd))
# 添加头文件路径
include_directories(./inc)

# 添加执行文件
add_executable(main ./src/main.c)

# 添加库文件路径
# link_directories(${PROJECT_SOURCE_DIR}/lib)

# 链接库文件
target_link_libraries(main abc)

# 添加子目录
add_subdirectory(lib/)